<template>
	<div id="app">

		<ComHead></ComHead>
	
		
		
		<router-view name="main"></router-view>
         
		<ComFoot></ComFoot>
      
	</div>
</template>

<script>
	import ComHead from '@/components/ComHead.vue'
	import ComFoot from '@/components/ComFoot.vue'
	import Login from '@/components/Login.vue'
	import { getAlldata } from '@/api'


import ComPart from '@/components/ComPart.vue'
import {getlistData} from '@/api'

	export default {
		
		components: {
			ComHead,ComFoot,ComPart,Login
		},
		data() {
			return {
				sidearr:[],
				AllData:[],
				AllList:[]
			}
		},
		created(){
			// sessionStorage.setItem('item',JSON.stringify([]))
			getlistData().then(res=>{
				const sidearr = res.data.data.slice(20,26)
				// console.log(sidearr)
			})
			
		},
		
	}
</script>

<style lang="less">
	html,body,ul,li,p,h1,h2,h3,h4,h5,h6,ol {
		margin: 0;
		padding: 0;
		// background: black;
	}
	li {
		list-style: none;
	}
	em,i {
		font-style: normal;
	}

	b,strong {
		font-weight: normal;
	}
	img {
		display: block;
	}
	#app {
		font-family: Avenir, Helvetica, Arial, sans-serif;
		-webkit-font-smoothing: antialiased;
		-moz-osx-font-smoothing: grayscale;
		color: #2c3e50;
	}
	.box{
		display:flex;
		flex-wrap: wrap;
		column-count: 5;
	}
	.big{
		width:1200px;
		margin:0 auto;
	}
</style>
